Component({
    properties: {

    },
    data: {
        adList: ["https://we7.91gongju.cn/attachment/upload/5/picture/2019-08-08/5d4bc8d933fdf.jpg", "/images/a.png"],
    },
    methods: {
        bannerTap(e) {
            let index = e.target.dataset.index;
            switch (index) {
                case 1:
                    wx.navigateTo({
                      url: '/pages/card/index/index',
                    });
                    break;
            }
        }
    }
});